#ifndef _ADC_H
#define _ADC_H

#include "STC8A.h"

#define ADC_S1_CH 0
#define ADC_S2_CH 1
#define ADC_S3_CH 2
#define ADC_S4_CH 3

#define ADC_HEAT1_CH 8
#define ADC_HEAT2_CH 9


void ADC_Config();

u16 Get_ADC12bitResult(u8 channel);

u16 Get_ADC10bitResult(u8 channel);

//void output_value(u8 Cal_MODE);

#endif

